﻿<%@ Page Title="" Language="C#" MasterPageFile="~/share/Site1.Master" AutoEventWireup="true"
    CodeBehind="Main.aspx.cs" Inherits="RGPWEB.admin.Main" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script type="text/javascript">
        //左侧工具栏切换
        function on_tool() {
            var leftdiv = document.getElementById("leftdiv");
            var splitdiv = document.getElementById("splitdiv");
            var rightdiv = document.getElementById("rightdiv");
            var frameshow = document.getElementById("frameshow");
            //判断菜单是否隐藏
            if (leftdiv.style.display == "none") {
                leftdiv.style.display = "block";
                frameshow.className = "splitCol";
            }
            else {
                leftdiv.style.display = "none";
                frameshow.className = "splitExp";
            }
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMain" runat="server">
        <div id="leftdiv">
        <table id="leftmenu">
            <tr>
                <td id="lefttitle">
                    系 统 菜 单
                </td>
            </tr>
            <tr>
                <td>
                    <div id="divpbox">
                        <asp:TreeView ID="MenuTreeView" runat="server" NodeIndent="10" NoExpandImageUrl="~/inc/images/treeico/folder.gif"
                            ParentNodeStyle-CssClass="parentnode" NodeStyle-CssClass="basenode" LeafNodeStyle-CssClass="leafnode">
                        </asp:TreeView>
            </div>
                </td>
            </tr>
            <tr>
                <td id="leftfooter">
                    <div id="footer">
                        <p>
                            版权所有&copy; (<%= System.IO.File.GetCreationTime(System.Reflection.Assembly.GetAssembly(typeof(RGPWEB.share.Site1)).Location).ToString("yyyy-MM-dd HH:mm") %>)<br />
                            2010-2012 SunRise-SZ.COM
                        </p>
            </div>
                </td>
            </tr>
        </table>
        </div>
    <div id="splitdiv" onclick="on_tool();">
        <div id="frameshow" class="splitCol">
            </div>
        </div>
            <div id="rightdiv">
        <iframe src="./Welcome.aspx" name="modulePanel" id="modulePanel" frameborder="0"
            style="height: 100%; width: 100%;"></iframe>
            </div>
</asp:Content>
